<%@ page import="org.grails.plugins.lookups.Lookup" %>
<%
def codeList = [1, 7, 5, 2, 3, 6]
%>
<div id="navigation">
    <ul id="menu-primary-navigation" class="nav clearfix">
        <li><g:link controller="browse" action="recent">Browse</g:link></li>
<%
def typeName
codeList.each {typeCode->
    typeValue = Lookup.valueForCode('item.type', typeCode)
%>
        <li><g:link controller="browse" action="category" id="${typeValue.toLowerCase()}">${typeValue}</g:link></li>
<%
} // codeList.each
%>
    </ul>
</div><!-- #navigation -->
